package com.jetsum.micro.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jetsum.api.entity.Order;
import com.jetsum.api.service.OrderService;
import com.jetsum.micro.mapper.OrderMapper;
import org.apache.dubbo.config.annotation.Service;

@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService<Order> {

    @Override
    public boolean create(Order order) {
        this.save(order);
        return true;
    }
}
